<?php
class Riesgo extends AppModel {
    var $name = 'Riesgo';
    var $useTable = "riesgos";

    var $belongsTo = array(
        'TipoRiesgo' => array(
            'classname' => 'TipoRiesgo',
            'foreignKey' => 'tipo_riesgo_id'
        )
    );
}

?>